package com.aizuda.boot.modules.business.counterparty.entity.dto;


import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

/**
 * 交易方唯一性检查请求DTO
 */
@Data
@Schema(description = "交易方唯一性检查请求")
public class CounterpartyUniquenessReqDTO {

    @Schema(description = "交易方名称", required = true)
    @NotBlank(message = "交易方名称不能为空")
    private String counterpartyName;

    @Schema(description = "注册国家代码，如：CN、US等\"", required = true)
    @NotBlank(message = "注册国家代码不能为空")
    private String registerCountry;

    @Schema(description = "交易方性质，1-企业，2-自然人，3-非营利组织", required = true)
    @NotNull(message = "交易方性质不能为空")
    private Integer counterpartyNature;
} 